﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Domain.Entities.Auditing;
using Abp.Domain.Entities;
using JPW.OnlinePaperSubmissionSystem.Authorization.Users;

namespace JPW.OnlinePaperSubmissionSystem.Project
{
    [Table("ManuscriptCheckeds")]
    public class ManuscriptChecked : Entity<long>
    {
        [ForeignKey("AuditId")]
        public virtual Audit Audit { get; set; }
        public virtual long? AuditId { get; set; }
        [ForeignKey("ManuscriptId")]
        public virtual Manuscript Manuscript { get; set; }
        public virtual long? ManuscriptId { get; set; }
        [ForeignKey("CurUserID")]
        public virtual User CurUser { get; set; }
        public virtual long? CurUserID { get; set; }
        [ForeignKey("NextUserID")]
        public virtual User NextUser { get; set; }
        public virtual long? NextUserID { get; set; }
        public virtual bool? IsFinish { get; set; }

    }
}


